#ifndef _Hunffman_H

typedef struct{
    char token;
    float weight;
    unsigned int parent, lchild, rchild;
}HFNode, * HuffmanTree;

typedef char ** HuffmanCode;

void Counts(char * string);
void HuffmanCoding(HuffmanTree HT, HuffmanCode HC,char * token,float * weights,int n);
// void ViewHuffmanCode(HuffmanCode HC,int n);
// void Decoding();
// void Encoding();
#endif